package com.medistat.controllers;

import java.io.Serializable;

import javax.faces.bean.SessionScoped;

import org.springframework.stereotype.Controller;

import com.medistat.helpers.UrlConsts;

@Controller("errorController")
@SessionScoped
public class ErrorController extends AbstractController implements Serializable{
	
	private static final long serialVersionUID = -125402426217562067L;
	
	public String login () {
		return UrlConsts.DEFAULT_PAGE;	
	}
	@Override
	public String getPageName() {
		return UrlConsts.ERROR_LOGIN_PAGE;
	}

}